<?php
$_GET['state'] = isset($_GET['state']) ? trim($_GET['state']) : '';
$oDelivery = new Delivery();
$delivery_list = $oDelivery->get_all('*', $_GET, $order = array());
$vars['list'] = $delivery_list['list'];
$vars['total'] = count($delivery_list['list']);

// 搜索
$vars['state_options'] = make_options(array('未启用', '启用'), true, $_GET['state']);
?>